<?php

/*
 * ARGUMENTS
 * $module -> Module Name
 * $action -> Action Name
 */

if ($sf_user->isAuthenticated()){
      
    if (!isset($menu)){
        
        //$menu = new ioMenuItem('My menu');
        $menu=new ioMenu();
        $menu->addChild('AAA');
        $menu->addChild('Task Manager');
        
        $menu['AAA']->addChild('Users', '@sf_guard_user');
        $menu['AAA']->addChild('Groups','@sf_guard_group');
        $menu['AAA']->addChild('Permissions','@sf_guard_permission');
        $menu['AAA']->addChild('Assoc User/Plant','@userPlant');
        $menu['Task Manager']->addChild('Task Log','@task_log');   
        //$menu['Configuration']->addChild('Control Panel','@ctrlPanel');      
    }
    echo $menu->render(); 

}else
   echo "&nbsp;";
             

?>
